package com.xique.door.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xique.common.core.domain.R;
import com.xique.common.core.web.domain.PageResult;
import com.xique.door.bean.domain.Notice;

public interface INoticeService extends IService<Notice> {
  R insertNotice(Notice notice);

  PageResult getNoticeList(
      Long parkId,
      Integer pageNum,
      Integer pageSize,
      String theme,
      String status,
      String startTime,
      String endTime,
      String userName,
      String exhibitionStatus);

  Notice getNotice(Long id);

  R updateNotice(Notice notice);

  R updateStatus(Long id, String status);
}
